class Rm
{
   public static function main()
   {
      var file = Sys.args()[0];
      try
      {
        sys.FileSystem.deleteFile(file);
        Sys.println("ok");
      }
      catch(e:Dynamic)
      {
        Sys.println("Error removing : "+ file + " from " + Sys.getCwd());
      }
   }
}
